package com.ruoyi.system.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 宠物对象 pet
 */
public class Pet extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 宠物记录唯一标识 */
    private Long id;
    
    /** 宠物年龄 */
    private String age;
    
    /** 宠物过敏史 */
    private String allergyHistory;
    
    /** 宠物图片路径或链接 */
    private String avatar;
    
    /** 宠物出生日期 */
    private String birthday;
    
    /** 宠物疾病史 */
    private String diseaseHistory;
    
    /** 宠物家族史 */
    private String familyHistory;
    
    /** 宠物性别: 1-公, 2-母 */
    private Integer gender;
    
    /** 宠物是否绝育: 0-未绝育, 1-已绝育 */
    private Integer isNeutered;
    
    /** 宠物是否接种疫苗 */
    private Integer isVaccination;
    
    /** 宠物名称 */
    private String name;
    
    /** 宠物类型id */
    private Long petTypeId;
    
    /** 宠物品种id */
    private Long petVarietyId;
    
    /** 宠物疫苗接种时间 */
    private String vaccinationDate;
    
    /** 宠物体重 (kg) */
    private String weight;
    
    /** 用户id */
    private Long uid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getAllergyHistory() {
        return allergyHistory;
    }

    public void setAllergyHistory(String allergyHistory) {
        this.allergyHistory = allergyHistory;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getDiseaseHistory() {
        return diseaseHistory;
    }

    public void setDiseaseHistory(String diseaseHistory) {
        this.diseaseHistory = diseaseHistory;
    }

    public String getFamilyHistory() {
        return familyHistory;
    }

    public void setFamilyHistory(String familyHistory) {
        this.familyHistory = familyHistory;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getIsNeutered() {
        return isNeutered;
    }

    public void setIsNeutered(Integer isNeutered) {
        this.isNeutered = isNeutered;
    }

    public Integer getIsVaccination() {
        return isVaccination;
    }

    public void setIsVaccination(Integer isVaccination) {
        this.isVaccination = isVaccination;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getPetTypeId() {
        return petTypeId;
    }

    public void setPetTypeId(Long petTypeId) {
        this.petTypeId = petTypeId;
    }

    public Long getPetVarietyId() {
        return petVarietyId;
    }

    public void setPetVarietyId(Long petVarietyId) {
        this.petVarietyId = petVarietyId;
    }

    public String getVaccinationDate() {
        return vaccinationDate;
    }

    public void setVaccinationDate(String vaccinationDate) {
        this.vaccinationDate = vaccinationDate;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("age", getAge())
                .append("allergyHistory", getAllergyHistory())
                .append("avatar", getAvatar())
                .append("birthday", getBirthday())
                .append("diseaseHistory", getDiseaseHistory())
                .append("familyHistory", getFamilyHistory())
                .append("gender", getGender())
                .append("isNeutered", getIsNeutered())
                .append("isVaccination", getIsVaccination())
                .append("name", getName())
                .append("petTypeId", getPetTypeId())
                .append("petVarietyId", getPetVarietyId())
                .append("vaccinationDate", getVaccinationDate())
                .append("weight", getWeight())
                .append("uid", getUid())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
} 